#pragma once

namespace serve
{
	class IPort;
	class IKernel
	{
	public:
		virtual USHORT	Release(void)				= 0;
		virtual void    CloseSocket(int socket)    = 0;
		virtual  int    TotalSocket(char type)                =0;
	};

	IKernel*	NetServiceCreate(serve::IPort** pPort,const char* IP, int nListenPort);
	void     NetServiceFree( void );
}
